<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>发射机详情</title>
    <link th:href="@{../../component/pear/css/pear.css}" rel="stylesheet">

    <script th:src="@{../../component/layui/layui.js}"></script>
    <script th:src="@{../../component/pear/pear.js}"></script>
</head>
<style>
    .layui-form-label {
        width: 200px !important;
        text-align: left !important;
    }

    .layui-form-item .layui-input-inline {
        width: 200px !important;
        margin-bottom: 0px !important;
    }

    .layui-form-item-te {
        margin-bottom: 0px !important;
    }
</style>
<body class="pear-container">
    <div class="layui-card">
            <form class="layui-form layui-form-pane" action="" id="tranform"  lay-filter="tranform">
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 5%;">
                    <label class="layui-form-label" style="width: 7%">台站ID</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="code" name="code" autocomplete="off">
                    </div>
                    <label class="layui-form-label" style="width: 7%">台站名称</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="name" name="name" autocomplete="off" >
                    </div>
                </div>
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 5%;">
                    <label class="layui-form-label" style="width: 7%">台站地址</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="address" name="address" autocomplete="off" >
                    </div>
                    <label class="layui-form-label" style="width: 7%">所属区域</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="region" name="region" autocomplete="off" >
                    </div>
                </div>
                <div class="layui-form-item layui-form-item-te" style="padding-left: 10%;padding-top: 5%;">
                    <label class="layui-form-label" style="width: 7%">经度</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="longitude" name="longitude" autocomplete="off" >
                    </div>
                    <label class="layui-form-label" style="width: 7%">纬度</label>
                    <div class="layui-input-inline" style="width: 12%">
                        <input type="text" class="layui-input" id="latitude" name="latitude" autocomplete="off" >
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block" style="text-align: center; margin-right:10%;padding-top: 5%;">
                        <button class="layui-btn" th:type="button" lay-filter="closeTransmiter" onclick="closeTransmiter()">
                            关闭
                        </button>
                    </div>
                </div>
            </form>
    </div>

    <script>
        layui.use(['table', 'form', 'jquery', 'popup'], function () {
            let table = layui.table;
            let $ = layui.jquery;
            let popup = layui.popup;
            let MODULE_PATH = "/system/transmitter/";

            window.closeTransmiter = function() {
                window.parent.location.reload();
                varindex = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            }

        })

    </script>
</body>
</html>
